<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<title>首页</title>
	<link rel="stylesheet" type="text/css" href="../css/index.css">
</head>
<body >
<div class="all">
	<!-- 导航部分 -->
	<div class="sidebar">
		<div class="nav">
			<a href="../index.html" onclick="fun1()">
				<img src="../img/home.png">
			机房信息</a>
			<a href="cunchu.html">
				<img src="../img/skills.png">
			存储信息</a>
		</div>
	</div>
	<!-- 导航结束 -->
	<!-- 首页 -->
	<div class="content">
        <!-- oav16 -->
        <table>
            <tr>
                <td colspan="6" class="jifang">
                <a href="https://10.106.132.113:8088/deviceManager/devicemanager/feature/login/login.html" style="color: black; text-decoration: none;" target="_blank">
                华为存储-OAV16
                </a>
                </td>
            </tr>
            <tr>
                <td class="td_bg">设备状态</td>
                <td colspan="2">{{ oa_device_status_description }}</td>
                <td class="td_bg">当前告警个数</td>
                <td colspan="2">{{ oa_num_alarms }}</td>
            </tr>
            <tr>
                <td class="td_bg">当前告警信息</td>
                <td colspan="5" class="left-align"> {{ oa_alarm_details }}</td>
            </tr>
            <tr class="td_bg">
                <td>名称：文件系统信息</td>
                <td>健康状态</td>
                <td>运行状态</td>
                <td>总容量</td>
                <td>可用容量</td>
                <td>使用率</td>
            </tr>
        
            <tr>
                {% for fs in oa_file_systems %}
                <td>{{ fs.doc_name }}</td>
                <td>{{ fs.health_status }}</td>
                <td>{{ fs.running_status }}</td>
                <td>{{ fs.total_capacity }}</td>
                <td>{{ fs.used_capacity }}</td>
                <td>{{ fs.availableandalloccappacitypatio }}</td>
                {% endfor %}
            </tr>

            <tr class="td_bg">
            <td>名称：存储池信息</td>
            <td>健康状态</td>
            <td>运行状态</td>
            <td>总容量</td>
            <td>已使用容量</td>
            <td>空闲的容量</td>
        </tr>
        
            <tr>
                {% for storage_pool in oa_storage_pools %}
                <td>{{ storage_pool.name }}</td>
                <td>{{ storage_pool.health_status }}</td>
                <td>{{ storage_pool.running_status }}</td>
                <td>{{ storage_pool.user_total_capacity }}</td>
                <td>{{ storage_pool.user_consumed_capacity }}</td>
                <td>{{ storage_pool.oa_shiyong_baifenbi }}</td>
                {% endfor %}
            </tr>
        
        </table>
        <!-- vm-cunchu -->
        <table>
                <tr>
                    <td colspan="6" class="jifang">
                    <a href="https://10.106.1.138:8088/deviceManager/devicemanager/feature/main/main.html" style="color: black; text-decoration: none;" target="_blank">
                    华为存储VM
                    </a>
                    </td>
                </tr>
                <tr>
                    <td class="td_bg">设备状态</td>
                    <td colspan="2">{{ vm_device_status_description }}</td>
                    <td class="td_bg">当前告警个数</td>
                    <td colspan="2">{{ vm_num_alarms }}</td>
                </tr>
                <tr>
                    <td class="td_bg">当前告警信息</td>
                    <td colspan="5" class="left-align"> {{ vm_alarm_details }}</td>
                </tr>
                <tr class="td_bg">
                <td>名称：存储池信息</td>
                <td>健康状态</td>
                <td>运行状态</td>
                <td>总容量</td>
                <td>已使用容量</td>
                <td>可用容量</td>
            </tr>
            
                <tr>
                    {% for storage_pool in vm_storage_pools %}
                    <td>{{ storage_pool.name }}</td>
                    <td>{{ storage_pool.health_status }}</td>
                    <td>{{ storage_pool.running_status }}</td>
                    <td>{{ storage_pool.user_total_capacity }}</td>
                    <td>{{ storage_pool.user_consumed_capacity }}</td>
                    <td>{{ storage_pool.user_free_capacity }}</td>
                    {% endfor %}
                </tr>
            

                <tr class="td_bg">
                    <td>名称:LUN</td>
                    <td>运行状态</td>
                    <td>健康状态</td>
                    <td>总存储容量</td>
                    <td>使用量</td>
                    <td>使用率</td>
                </tr>

        
            <tr>
                {% for lun_info in vm_lun_data[:2] %}
                <td>{{ lun_info.name }}</td>
                <td>{{ lun_info.health_status }}</td>
                <td>{{ lun_info.running_status }}</td>
                <td>{{ lun_info.total_saved_capacity }}</td>
                <td>{{ lun_info.alloccapacity }}</td>>
                <td>{{ lun_info.shiyong_baifenbi }}</td>>
                {% endfor %}
            </tr>
            </table>
            <!-- 5510 -->
            <table>
                <tr>
                    <td colspan="6" class="jifang">
                    <a href="https://10.106.1.131:8088/deviceManager/devicemanager/feature/login/login.html" style="color: black; text-decoration: none;" target="_blank">
                    华为存储-5510Fv5
                    </a>
                    </td>
                </tr>
                <tr>
                    <td class="td_bg">设备状态</td>
                    <td colspan="2">{{ device_status_description }}</td>
                    <td class="td_bg">当前告警个数</td>
                    <td colspan="2">{{ num_alarms }}</td>
                </tr>
                <tr>
                    <td class="td_bg">当前告警信息</td>
                    <td colspan="5" class="left-align"> {{ alarm_details }}</td>
                </tr>
                <tr>
                    <th>文件系统名称</th>
                    <th>健康状态</th>
                    <th>运行状态</th>
                    <th>总容量</th>
                    <th>可用容量</th>
                    <th>使用率</th>
                </tr>
                {% for file_system in file_systems %}
                    <tr>
                        <td>{{ file_system.name }}</td>
                        <td>{{ file_system.healthstatus }}</td>
                        <td>{{ file_system.runningstatus }}</td>
                        <td>{{ file_system.capacity }}</td>
                        <td>{{ file_system.availablecapcity }}</td>
                        <td>{{ file_system.availableandalloccappacitypatio }}</td>
                    </tr>
                {% endfor %}

                <tr class="td_bg">
                <td>名称：存储池信息</td>
                <td>健康状态</td>
                <td>运行状态</td>
                <td>总容量</td>
                <td>已用容量</td>
                <td>使用率</td>
            </tr>
            {% for storage_pool in storage_pools %}
                <tr>
                    <td>{{ storage_pool.name }}</td>
                    <td>{{ storage_pool.health_status }}</td>
                    <td>{{ storage_pool.running_status }}</td>
                    <td>{{ storage_pool.user_total_capacity }}</td>
                    <td>{{ storage_pool.user_consumed_capacity }}</td>
                    <td>{{ storage_pool.shiyong_baifenbi }}</td>
                </tr>
            {% endfor %}
                <tr class="td_bg">
                <td>名称:LUN</td>
                <td>运行状态</td>
                <td>健康状态</td>
                <td>总容量</td>
                <td>使用量</td>
                <td>使用率</td>
                </tr>

        {% for lun_info in fv_lun_data[:2] %}
            <tr>
                <td>{{ lun_info.name }}</td>
                <td>{{ lun_info.health_status }}</td>
                <td>{{ lun_info.running_status }}</td>
                <td>{{ lun_info.total_saved_capacity }}</td>
                <td>{{ lun_info.alloccapacity }}</td>
                <td>{{ lun_info.lun_shiyong_baifenbi }}</td>
            </tr>
        {% endfor %}

            </table>
            <!-- 联想存储 -->
        <table>
                <tr>
                    <td colspan="6" class="jifang">
                    <a href="https://10.106.133.100/sysmgr/v4/" style="color: black; text-decoration: none;" target="_blank">
                    联想存储-财务共享
                    </a>
                    </td>
                </tr>
                <tr>
                    <td class="td_bg">存储告警日志</td>
                    <td colspan="5" class="left-align">{{ fssc_log_message }}</td>
                </tr>
                <tr>
                    <td class="td_bg">总存储空间</td>
                    <td > {{ fssc_storage_full_size_T }}</td>
                    <td class="td_bg">已使用空间</td>
                    <td > {{ fssc_storage_full_used_T }}</td>
                    <td class="td_bg">使用率</td>
                    <td > {{ fssc_storage_usage }}</td>
                </tr>
                <tr>
                    <td class="td_bg">fssc_nas分配空间</td>
                    <td > {{ storage_vloumes_json_size_T }}</td>
                    <td class="td_bg">fssc_nas已使用空间</td>
                    <td > {{ storage_vloumes_json_used_T }}</td>
                    <td class="td_bg">使用率</td>
                    <td > {{ caiwunas_usage }}</td>
                </tr>
            </table>
            <!-- 联想存储NC -->
            <table>
                <tr>
                    <td colspan="6" class="jifang">
                    <a href="https://10.106.133.120/sysmgr/v4/" style="color: black; text-decoration: none;" target="_blank">
                    联想存储-NC
                    </a>
                    </td>
                </tr>
                <tr>
                    <td class="td_bg">存储告警日志</td>
                    <td colspan="5" class="left-align">{{ nc_log_message }}</td>
                </tr>
                <tr>
                    <td class="td_bg">总存储空间</td>
                    <td > {{ nc_storage_full_size_T }}T</td>
                    <td class="td_bg">已使用空间</td>
                    <td > {{ nc_storage_full_used_T }}T</td>
                    <td class="td_bg">使用率</td>
                    <td > {{ nc_storage_usage }}</td>
                </tr>
                <tr>
                    <td class="td_bg">nas_muyuan分配空间</td>
                    <td > {{ nc_storage_volume_nas_muyuan_size }}G</td>
                    <td class="td_bg">nas_muyuan已使用空间</td>
                    <td > {{ nc_storage_volume_nas_muyuan_used }}G</td>
                    <td class="td_bg">使用率</td>
                    <td > {{ nc_storage_volume_nas_muyuan_useage }}%</td>
                </tr>
                <tr>
                    <td class="td_bg">ncdb_asm分配空间</td>
                    <td > {{ nc_storage_volume_ncdb_asm_size }}T</td>
                    <td class="td_bg">ncdb_asm已使用空间</td>
                    <td > {{ nc_storage_volume_ncdb_asm_used }}T</td>
                    <td class="td_bg">使用率</td>
                    <td > {{ nc_storage_volume_ncdb_asm_useage }}%</td>
                </tr>
                <tr>
                    <td class="td_bg">ncdb_asm2分配空间</td>
                    <td > {{ nc_storage_volume_ncdb_asm2_size }}T</td>
                    <td class="td_bg">ncdb_asm2已使用空间</td>
                    <td > {{ nc_storage_volume_ncdb_asm2_used }}T</td>
                    <td class="td_bg">使用率</td>
                    <td > {{ nc_storage_volume_ncdb_asm2_useage }}%</td>
                </tr>
                <tr>
                    <td class="td_bg">ncdb_back分配空间</td>
                    <td > {{ nc_storage_volume_ncdb_back_size }}T</td>
                    <td class="td_bg">ncdb_asm2ncdb_back已使用空间</td>
                    <td > {{ nc_storage_volume_ncdb_back_used }}T</td>
                    <td class="td_bg">使用率</td>
                    <td > {{ nc_storage_volume_ncdb_back_useage }}%</td>
                </tr>
                <tr>
                    <td class="td_bg">ncdb_ocr分配空间</td>
                    <td > {{ nc_storage_volume_ncdb_ocr_size }}G</td>
                    <td class="td_bg">ncdb_ocr已使用空间</td>
                    <td > {{ nc_storage_volume_ncdb_ocr_used }}G</td>
                    <td class="td_bg">使用率</td>
                    <td > {{ nc_storage_volume_ncdb_ocr_useage }}%</td>
                </tr>
                <tr>
                    <td class="td_bg">ncdg分配空间</td>
                    <td > {{ nc_storage_volume_ncdg_size }}T</td>
                    <td class="td_bg">ncdg已使用空间</td>
                    <td > {{ nc_storage_volume_ncdg_used }}T</td>
                    <td class="td_bg">使用率</td>
                    <td > {{ nc_storage_volume_ncdg_useage }}%</td>
                </tr>
                <tr>
                    <td class="td_bg">svm0_root分配空间</td>
                    <td > {{ nc_storage_volume_svm0_root_size }}G</td>
                    <td class="td_bg">svm0_root已使用空间</td>
                    <td > {{ nc_storage_volume_svm0_root_used }}G</td>
                    <td class="td_bg">使用率</td>
                    <td > {{ nc_storage_volume_svm0_root_useage }}%</td>
                </tr>
                <tr>
                    <td class="td_bg">svm_fc_root分配空间</td>
                    <td > {{ nc_storage_volume_svm_fc_root_size }}G</td>
                    <td class="td_bg">svm_fc_root已使用空间</td>
                    <td > {{ nc_storage_volume_svm_fc_root_used }}G</td>
                    <td class="td_bg">使用率</td>
                    <td > {{ nc_storage_volume_svm_fc_root_useage }}%</td>
                </tr>
                <tr>
                    <td class="td_bg">svm_nfs_root分配空间</td>
                    <td > {{ nc_storage_volume_svm_nfs_root_size }}G</td>
                    <td class="td_bg">svm_nfs_root已使用空间</td>
                    <td > {{ nc_storage_volume_svm_nfs_root_used }}G</td>
                    <td class="td_bg">使用率</td>
                    <td > {{ nc_storage_volume_svm_nfs_root_useage }}%</td>
                </tr>
            </table>
    </div>
        <!--群晖存储-->
</div>
</body>
</html>